.top_search_box {
  height: 45px;
  background-color: rgb(42, 42, 42);
}

.top_search_box .tsb_out {
  width: 1200px;
  height: 45px;
  background-color: rgb(42, 42, 42);
  margin: 0 auto;
  position: relative;
  margin-left: 169px;
}

.tsb_out>ul {
  width: 1200px;
  height: 45px;
  list-style: none;
  display: flex;
  position: absolute;
}

/* 商品分类 小下拉框 */
.tsb_out>ul .tsb_product_class {
  width: 160px;
  height: 45px;
  color: rgb(224, 224, 224);
  position: relative;
  background-color: rgb(42, 42, 42);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
}

.tsb_out .tsb_product_class>div {
  width: 10px;
  height: 7.5px;
  background-image: url('../img/home_pro_list_more_l.png');
  background-repeat: no-repeat;
  margin-right: 20px;
}

.tsb_out .tsb_product_class .tsbll_detail {
  width: 162px;
  background-color: white;
  list-style: none;
  position: absolute;
  left: 0;
  top: 42px;
  box-shadow: 3px 4px 7px 2px #A0A0A0;
  z-index: 9;
  /* /先隐藏/ */
  display: none;
}

/*!
  3c数码里面的配件 用 sass
*/
.tsbll_detail {
  #tsblld_Y1 {
    display: none;
  }

  #tsblld_Y2 {
    display: none;
  }

  #tsblld_Y3 {
    display: none;
  }

  #tsblld_Y4 {
    display: none;
  }

  #tsblld_Y5 {
    display: none;
  }

  #tsblld_Y6 {
    display: none;
  }

  #tsblld_Y7 {
    display: none;
  }

  #tsblld_Y8 {
    display: none;
  }

  .tsblld_Y {
    position: absolute;
    width: 360px;
    height: 300px;
    background-color: white;
    top: 0px;
    left: 162px;
    color: black;
    box-shadow: 3px 4px 7px 2px #A0A0A0;

    ul {
      list-style: none;
      height: 300px;
      margin-top: 15px;

      li {
        width: 80px;
        height: 20px;
        line-height: 20px;
        white-space: nowrap;
        margin: 10px 0;
        font-size: 15px;

        &:hover {
          color: rgb(148, 24, 24);
        }
      }

      .ts_Y_img {
        width: 252px;
        height: 300px;
        position: absolute;
        top: 20px;
        left: 95px;
      }
    }

  }

}

.tsb_product_class .tsbll_detail>li {
  width: 100%;
  height: 36px;
  color: black;
  line-height: 36px;
  text-indent: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tsb_product_class .tsbll_detail>li:hover {
  background-color: rgb(185, 23, 1);
  color: white;
}

.tsb_product_class .tsbll_detail>li:hover .tsblld_img {
  display: inline-block;
  width: 10px;
  height: 13px;
  background-image: url('../img/home_pro_list_arow_right_h.png');
  background-repeat: no-repeat;
  background-position: 0 0;
  margin-right: 10px;

}

.tsb_product_class .tsbll_detail .tsblld_img {
  display: inline-block;
  width: 10px;
  height: 13px;
  background-image: url('../img/crumbs_arrow_light.png');
  background-repeat: no-repeat;
  background-position: 0 0;
  margin-right: 15px;
}

.tsb_out>ul .tsb_product_class:hover>div {
  background-image: url('../img/home_pro_list_more_h.png');
}


.tsb_out>ul .tsb_product_class:hover {
  background-color: white;
  color: rgb(185, 23, 1);
}

//设置下拉框鼠标进入
.tsb_product_class {
  &:hover .tsbll_detail {
    display: block;
  }

  .tsbll_detail {
    >li:nth-child(1) {
      &:hover #tsblld_Y1 {
        display: block;
      }
    }

    >li:nth-child(2) {
      &:hover #tsblld_Y2 {
        display: block;
      }
    }

    >li:nth-child(3) {
      &:hover #tsblld_Y3 {
        display: block;
      }
    }

    >li:nth-child(4) {
      &:hover #tsblld_Y4 {
        display: block;
      }
    }

    >li:nth-child(5) {
      &:hover #tsblld_Y5 {
        display: block;
      }
    }

    >li:nth-child(6) {
      &:hover #tsblld_Y6 {
        display: block;
      }
    }

    >li:nth-child(7) {
      &:hover #tsblld_Y7 {
        display: block;
      }
    }

    >li:nth-child(8) {
      &:hover #tsblld_Y8 {
        display: block;
      }
    }
  }
}

/* 商品分类 小下拉框结束 */

/* 主题分类 小下拉框 */
.tsb_theme_class {
  width: 160px;
  height: 45px;
  color: rgb(224, 224, 224);
  position: relative;
  background-color: rgb(42, 42, 42);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;

  &:hover .ttc_detail {
    display: block;
  }

  /*
    这是第一个 ul下拉框
  */
  //主题分类下面小的选项
  .ttc_detail {
    width: 162px;
    position: absolute;
    top: 44px;
    background-color: white;
    box-shadow: 3px 4px 7px 2px #A0A0A0;
    left: 0;
    list-style: none;
    z-index: 9;
    display: none;

    >li {
      width: 100%;
      height: 36px;
      line-height: 36px;
      color: black;

      &:hover {
        background-color: rgb(185, 23, 1);
      }

      &:hover .ttc_detail_name {
        color: #fff;
      }

      &:hover .ttc_detail_img {
        background-image: url('../img/home_pro_list_arow_right_h.png');
      }

      .ttc_detail_name {
        font-size: 16px;
        display: inline-block;
        margin-left: 20px;
        color: rgb(92, 92, 92);
        line-height: 36px;
      }

      .ttc_detail_img {
        display: inline-block;
        width: 10px;
        height: 11px;
        background-image: url('../img/crumbs_arrow_light.png');
        background-repeat: no-repeat;
        background-position: 0 0;
        margin-left: 75px;
        line-height: 36px;
      }

      .tsbtc_Z {
        position: absolute;
        width: 630px;
        top: 0;
        left: 162px;
        background-color: white;
        box-shadow: 3px 4px 7px 2px #A0A0A0;
        display: none;

        ul {
          width: 630px;
          list-style: none;
          height: auto;
          margin-left: 30px;
          margin-top: 12px;

          >li {
            display: inline-block;
            width: 125px;
            height: 70px;
            // float: left;
            text-align: center;
            margin-right: 23px;
            margin-bottom: 13px;

            &:hover {
              background-color: rgb(231, 231, 231);
            }

            >a {
              text-decoration: none;

              >img {
                width: 125px;
                height: 75px;
              }
            }
          }
        }
      }
    }

    >li:nth-child(1) {
      &:hover #tsbtc_Z1 {
        display: block;
      }
    }

    >li:nth-child(2) {
      &:hover #tsbtc_Z2 {
        display: block;
      }
    }

    >li:nth-child(3) {
      &:hover #tsbtc_Z3 {
        display: block;
      }
    }

    >li:nth-child(4) {
      &:hover #tsbtc_Z4 {
        display: block;
      }
    }

    >li:nth-child(5) {
      &:hover #tsbtc_Z5 {
        display: block;
      }
    }

    >li:nth-child(6) {
      &:hover #tsbtc_Z6 {
        display: block;
      }
    }

    >li:nth-child(7) {
      &:hover #tsbtc_Z7 {
        display: block;
      }
    }

    >li:nth-child(8) {
      &:hover #tsbtc_Z8 {
        display: block;
      }
    }


  }
}

.tsb_theme_class .tsb_logo_list {
  width: 10px;
  height: 7.5px;
  background-image: url('../img/home_pro_list_more_l.png');
  background-repeat: no-repeat;
  margin-right: 10px;
}

.tsb_theme_class:hover .tsb_logo_list {
  background-image: url('../img/home_pro_list_more_h.png');
}

.tsb_theme_class:hover {
  background-color: white;
  color: rgb(185, 23, 1);
}

/* 主题分类 小下拉框结束 */


/*中间搜索框*/
.tsb_out ul .tsb_seachbox {
  width: 368px;
  height: 36px;
  background-color: white;
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 3px;
  margin-top: 5px;
  margin-left: 30px;
}

.tsb_out ul .tsb_seachbox input {
  width: 315px;
  height: 32px;
  outline: none;
  text-indent: 12px;
  color: rgb(43, 43, 43);
  border: none;
  border-right: 1px solid rgb(216, 216, 216);
}

.tsb_out ul .tsb_seachbox input::-webkit-input-placeholder {
  /* placeholder颜色  */
  color: #aab2bd;

}

.tsb_out ul .tsb_seachbox .aaa {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url('../img/home_search_l.png');
  position: absolute;
  right: 16px;
  top: 8px;
  cursor: pointer;
  &:hover{
    background-image: url('../img/home_search_h.png');
  }
}

/*中间搜索框 end*/

/* 登录 */
.tsb_login_box {
  margin-left: 30px;
  width: 160px;
  height: 45px;
  background-color: rgb(43, 43, 43);
  color: aliceblue;
  display: flex;
  justify-content: space-around;
  align-items: center;

  &:hover .tlb_new .tlbn_outbox {
    display: block;
  }

  .tlb_to {
    width: 80px;
    height: 30px;
    line-height: 30px;
    display: flex;
    justify-content: space-around;
    // display: none;
  }

  .tlb_new {
    width: 80px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    display: none;

    &:hover .tlbn_img {
      background-image: url('/img/home_pro_list_more_h.png');
    }

    .tlbn_username {
      display: inline-block;
      line-height: 30px;
      font-size: 15px;

    }

    .tlbn_img {
      display: inline-block;
      width: 9px;
      height: 7px;
      background-image: url('/img/home_pro_list_more_l.png');
    }

    .tlbn_outbox {
      position: absolute;
      top: 38px;
      left: -39px;
      background-color: rosybrown;
      box-shadow: 3px 4px 7px 2px #A0A0A0;
      display: none;

      .tlbn_S {
        border-width: 0px 7px 7px 7px;
        border-color: transparent transparent rgb(191, 25, 32) transparent;
        border-style: solid;
        width: 0;
        height: 0;
        position: absolute;
        top: -7px;
        left: 66px;
      }

      ul {
        width: 162px;
        height: auto;
        list-style: none;
        border-top: 3px solid rgb(191, 25, 32);

        >li {
          width: 100%;
          height: 36px;
          line-height: 36px;
          background-color: white;
          color: black;
          display: flex;
          justify-content: space-around;
          align-items: center;

          &:hover {
            color: white;
            background-color: rgb(191, 25, 32);
          }

          &:hover .tlbno_img {
            background-image: url('/img/home_pro_list_arow_right_h.png');
          }

          .tlbno_center1 {
            display: inline-block;
            width: 56px;
          }

          .tlbno_img {
            display: inline-block;
            width: 7px;
            height: 10px;
            background-image: url('/img/home_pro_list_arow_right_l.png');
            background-repeat: no-repeat;
          }
        }
      }
    }

  }
}

.tsb_out>ul .tsb_login_box .bbb {
  display: inline-block;
  width: 12px;
  height: 15px;
  margin-top: 7px;
  background-image: url('../img/lock.png');
}

.tsb_out>ul .tsb_login_box:hover {
  background-color: white;
  color: rgb(185, 23, 1);
}

.tsb_out>ul .tsb_login_box:hover .bbb {
  background-image: url('../img/lock_h.png');
}

//登录盒子
.tsb_login_box {
  position: relative;

  .tsblb_box {
    position: absolute;
    width: 258px;
    height: 232px;
    background-color: white;
    top: 42px;
    left: 0;
    z-index: 9;
    border-top: 3px solid rgb(191, 25, 32);
    box-shadow: 3px 4px 7px 2px #A0A0A0;
    display: none;

    input {
      height: 40px;
      width: 232px;
      margin: 8px;
      margin-left: 12px;
      text-indent: 15px;
      outline: none;
      margin-top: 18px;
      color: black;

      &::-webkit-input-placeholder {
        color: rgb(189, 189, 189);
      }

      input::-moz-input-placeholder {
        color: rgb(189, 189, 189);
      }

      input::-ms-input-placeholder {
        color: rgb(189, 189, 189);
      }

      &:focus {
        border: 0.5px solid black;
      }
    }

    .tsblb_login {
      width: 232px;
      height: 40px;
      background-color: rgb(175, 41, 41);
      font-size: 15px;
      font-weight: 600;
      margin-left: 12px;
      margin-top: 10px;
      border: none;
      color: white;
    }

    &:hover {
      color: white;
    }

    .bsblb_bottom {
      display: flex;
      justify-content: space-around;
      align-items: center;
      margin-top: 20px;

      span {
        a {
          text-decoration: none;
          color: rgb(168, 95, 44);
          font-size: 12px;

          &:hover {
            color: black;
          }
        }
      }
    }
  }

  &:hover .tsblb_box {
    display: block;
  }
}

/* 登录结束 */

/*订单量*/
.tsb_out ul .tsb_order_list {
  width: 160px;
  height: 45px;
  background-color: rgb(43, 43, 43);
  color: aliceblue;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.tsb_out ul .tsb_order_list:hover {
  background-color: rgb(185, 23, 1);
}


/*订单量结束*/

/* 购物车数量 */
.tsb_out ul .tsb_shopping_cart {
  width: 160px;
  height: 45px;
  background-color: rgb(43, 43, 43);
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.tsb_out ul .tsb_shopping_cart span {
  display: inline-block;
}

.tsb_out ul .tsb_shopping_cart:hover {
  background-color: rgb(185, 23, 1);
}

/* 购物车数量结束 */

/* 下面的链接 */
.link_container {
  display: flex;
  width: 1519px;
  align-items: center;
  background-color: rgb(245, 246, 247);
}

.link_container .lc_w {
  width: 1200px;
  height: 34px;
  margin: 0 auto;
}

.link_container .lc_w ul {
  justify-content: space-around;
  align-items: center;
  line-height: 34px;
  list-style: none;

}

.link_container .lc_w ul li a {
  color: rgb(88, 93, 95);
  text-decoration: none;
}

.link_container .lc_w ul li a:hover {
  color: black;
}

/* 下面的链接结束 */

/* imglink*/
.c_link_img ul {
  list-style: none;
  display: flex;
}

.c_link_img ul li {
  width: 127px;
  height: 70px;
  background-color: white;
}

.c_link_img ul li a img {
  width: 127px;
  height: 70px;
}

.c_link_img ul li:hover {
  background-color: rgb(230, 230, 230);
}

/* imglink end*/